home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 4 / CU Amiga Magazine's Super CD-ROM 04 (1996)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1996-11].iso / magazine / psion / utils / newcron.lzx / NEWCRON.TXT < prev   
Text File  |  1996-09-20  |  13KB  |  307 lines

  1. ----------------------------------------------------------------------------
  2.  
  3.                              NewCron 1.1
  4.                      Copyright 1995 Stefan Radig
  5.  
  6. ----------------------------------------------------------------------------
  7.  
  8. 0. What's new
  9.  
  10. Version 1.1
  11. Bugfixes:
  12. - In the event screen, the event year was always the actual one.
  13.   This has been fixed.
  14. - The switch delay is now only active, if there is a switch off event
  15. - In version 1.0 it was impossible to switch the machine off, if NewCron
  16.   showed the message screen. This has been fixed.
  17.   
  18. Version 1.0
  19. New features:
  20. - A help is now available if the help file is installed.
  21. - Events may now be triggered when the S3a is switched off and/or on.
  22. - Settings which are not relevant for the actual event are printed in
  23.   grey.
  24. Other changes:
  25. - The sources now need OPP10f to be compiled. This is an OPL-preprocessor
  26.   by Andy Clarkson.
  27. - The language specific code has completely been moved to the file
  28.   newcron.oph. There are versions for german and english language.
  29. - The distribution format has been changed. See later for details.
  30.  
  31. WARNING: Files of version 0.9 and lower may no longer be used!
  32.   
  33. Version 0.9
  34. New features:
  35. - A new menu option has been added. Now you are able to search for 
  36.   a message text (wildcards may be used).
  37. - A new menu option has been added which displays the copyright screen
  38.   for a while 
  39. - There is now an english and a german version.
  40. Bugfixes:
  41. - A bug has been fixed which led to an error if you inserted an entry
  42.   before copying or editing one. Now a copy event is executed simply
  43.   before you may insert something.
  44.   
  45. Version 0.8
  46. This version has been greatly enhanced. So much of the internal structure
  47. has changed.
  48. New features:
  49. - The scheduler may no longer be started manually. It's started, when
  50.   NewCron is started and finishes when NewCron finishes.
  51. - You can switch manually between the events and the message list via the 
  52.   diamond key.
  53. - You may edit entries while the scheduler is running. (Although it's 
  54.   stopped while you are looking at a dialog or menu.)
  55. - The time when an event occured is logged in the message list.
  56. Bugfixes:
  57. - Now all the 40 characters of a message may be displayed.
  58.  
  59. Version 0.7
  60. New features:
  61. - Now a daily time interval can be given. Events that do not fall in this 
  62.   interval are ignored.
  63. Bugfixes:
  64. - A little bug in doevnt has been fixed. It was a wrong date comparison.
  65.  
  66. WARNING: Files of version 0.6 may no longer be used!
  67.  
  68. Version 0.6
  69. The first released version.
  70.  
  71. ----------------------------------------------------------------------------
  72.  
  73. 1. Intro
  74.  
  75. This is NewCron 1.1, a scheduler program for the psion S3a. It may be used 
  76. to schedule repeated events. It uses a file for storing a list of events 
  77. each of which may trigger different actions.
  78.  
  79. Features:
  80. - Number of events limited only by size of the used disk.
  81. - Triggers sounds, texts, macros and/or opl-programs.
  82. - Comfortable builtin editor for events running in parallel to the scheduler.
  83. - Switches the S3a on, if necessary.
  84. - Repetitions from seconds to years.
  85. - Day time intervall for active events
  86. - Events may be edited at each time and will be queued after you finished
  87.   editing.
  88. - A help screen is given, which holds a subset of this manual.
  89.   
  90. ----------------------------------------------------------------------------
  91.  
  92. 2. Copying
  93.  
  94. The program may be copied and changed according to the terms stated in the 
  95. file COPYING, which is the GNU General public license. If you make any changes 
  96. please send them - along with some documentation - to me. If I consider them 
  97. useful I will include them in the next version. Although you are allowed to,
  98. if would prefer if you would not post own versions. This would be very confusing.
  99. However if you do, give it a different name and/or state explicitly that it's 
  100. an 'unofficial' release.
  101. If you think, that the program is useful to you, don't send any donations but 
  102. please feel free to send your own programs (incl. keys, if shareware) to me.
  103. I would appreciate very much getting feedback from you!
  104.  
  105. ----------------------------------------------------------------------------
  106.  
  107. 3. Files
  108.  
  109. The package consists of the following files in the following folders:
  110.  
  111. newcron.txt - this manual
  112. copying.txt - the GNU General public license V2 which is to be applied
  113. /binaries/
  114.     /deutsch/
  115.         /app/
  116.             newcrong.opa - the german binary
  117.         /cron/
  118.             newcrong.rsc - the german help file
  119.     /english/
  120.         /app/
  121.             newcrone.opa - the english binary
  122.         /cron/
  123.             newcrone.rsc - the english help file
  124. /sources/
  125.     /opd/
  126.         newcrong.hlp - the source for the german help file
  127.         newcrone.hlp - the source for the english help file
  128.     /opp/
  129.         newcron.opp - the program source
  130.         newcron.oph - the language specific code
  131.     /pic/
  132.         newcron.pic - the icon for the opa
  133.         newcron2.pic - an alternative icon
  134.  
  135. ----------------------------------------------------------------------------
  136.  
  137. 4. Installation
  138.  
  139. - Choose your language and go into the appropriate folder. Copy everything
  140.   in it to the correct folder on the internal drive. Install the .opa file
  141.   in the usual way. Then use it.
  142.   Example for the english version:
  143.       - Create the folder /cron/
  144.         - Copy
  145.                 /binaries/english/app/newcrone.opa to /app/newcrone.opa
  146.                 /binaries/english/cron/newcrone.rsc to /cron/newcrone.rsc
  147.       - Install it.
  148.       
  149. ----------------------------------------------------------------------------
  150.  
  151. 5. Using NewCron
  152.  
  153. The program conforms as close as I could to the style used by the internal 
  154. applications. This includes the file list from the system screen, which may 
  155. be used to choose the actual file or create a new one. Even several copies 
  156. of NewCron may be active at the same time.
  157.  
  158. Starting:
  159.   Start NewCron from the system screen selecting a file from the file list 
  160.   or creating a new one using the menu option. The program will display a 
  161.   copyright screen and then start to look for events past due. These will 
  162.   be replayed.
  163.   *** You may stop replaying them by pressing any key.
  164.   *** THIS WILL STOP THE SCHEDULER until you edit any event!
  165.   If you didn't press a key or - after pressing a key - edited an event, the 
  166.   scheduler will search for the next due - or passed due - event. This may 
  167.   take a while, especially if you didn't use it a long while.
  168.   When the next event has been found NewCron will display "Waiting for event #".
  169.  
  170. Stepping around:
  171.   Step around with the arrow keys. Arrow-up goes to the first event, arrow-down 
  172.   to the last one. Arrow-right creates a new entry if you press it when looking 
  173.   at the last event. The events are not sorted and if you alter an event, it
  174.   will become the last one.
  175.  
  176. Editing:
  177.   You may now edit, add and delete events. Note that the scheduler is not 
  178.   active, if either the menu or a dialog box is displayed. However it will 
  179.   replay past due events in the appropriate order after the menu/dialog has
  180.   been left.
  181.   Press enter to edit the event you are looking at. To change the fields 
  182.   <Repetition>, <Sound> or <Opl-Module> select them then press enter. This is 
  183.   annoying because it does not conform to the builtin app style. But I don't 
  184.   know how to use the <TAB>-Button-Options in a dialog from OPL. Is there
  185.   anyone who knows???
  186.   The <active> switch may be used to switch between <not active>, <active>,
  187.   <triggered when S3a is switched on> and <triggered when S3a is switched off>.
  188.   However <switched off> means switched off manually not automatically!
  189.  
  190. Using the menu:
  191.   The menu options may be selected by hotkeys, of course. But I didn't know 
  192.   a reason why you should be forced to press the PSION-key. (Does anyone know 
  193.   one???) So the plain keys will work, too. In addition the delete key will
  194.   delete an event, too.
  195.     Pressing the help key gives a help screen.
  196.       
  197. The log screen:
  198.   Each event executed is logged in the message list although you will only be
  199.   able to look at the last 10 or so events. If a message is attached to the
  200.   event, NewCron will switch to foreground and will display the message list
  201.   when the event occurs. Otherwise it won't. You may manually switch between
  202.   the event-screen and log-screen using the diamond key. If you are looking
  203.   at the log screen, every key will bring you back to the event-screen.
  204.  
  205. Hints:
  206. - The order of events in the file - and with it the event numbers - will 
  207.   change deliberately. So always check, that you are looking at the right event!
  208. - Macros from Tom Dolbilin's MacSys may be used only if MacSys is installed.
  209.   Otherwise they are discarded without any special note!
  210. - The scheduler will execute due events if and only if it displays a message
  211.   "Waiting for event #" in the bottom left edge of the screen. If you expect
  212.   an event to be due in future and don't see this something has gone wrong!!!
  213. - When you edit an event, it will automatically switch to active state. Switch
  214.   back if this is undesired!
  215.  
  216. ----------------------------------------------------------------------------
  217.  
  218. 6. Changing the program
  219.  
  220. If you want to change the help files you will need helpkit1.zip which is
  221. a help compiler written by Jezar. Follow the instructions given there for
  222. compiling the help file. Copy the .rsc file to the correct directory.
  223.  
  224. If you want to edit the program or add a new language you will need opp10f
  225. by Andy Clarkson.
  226. Copy the files in /sources/ to the appropriate folders. Choose one of the
  227. two .pic files and name it newcron.pic.
  228. All changes concerning the language should be done only in newcron.oph. I
  229. hope it works for every language, but I'm not sure. If not, contact me!
  230. Choose the target language by setting the switch LANG to the desired number.
  231.  
  232. ----------------------------------------------------------------------------
  233.  
  234. 7. Bugs, suggestions and questions
  235.  
  236. I have not found any bugs (if I had I would have fixed them). If YOU find any 
  237. please send me a short description and I will fix. If you have suggestions and 
  238. you know how to implement them, then do it or tell me how. If you don't know 
  239. how then describe your suggestions and I will see, if I manage to implement them.
  240.   There is one disadvantage when triggering OPL modules: They are always started 
  241. in foreground. I don't know how to start a program in background.
  242. There is a way around this: Simply rename lauch: in launch1: and lauch2: in
  243. launch:. Then the opl programs - which must be started with a procedure
  244. named 'main' will be started in the background. This has a different 
  245. disadvantage: The scheduler won't continue until the launched program has 
  246. finished. There is a way around this: Implement a server process for newcron. 
  247. This shouldn't be to hard and I will implement it if - but only if - there are 
  248. people asking for it. 
  249.   The program uses 30 Kbytes when running which is consumed mainly by the
  250. window server for the two windows...
  251.   I would be very happy to get feedback of any kind to help improving the
  252. program!!! Also questions are welcome.
  253.   The newcron2.pic icon is a little joke because I am not at all an artist. If
  254. someone develops a reasonable icon please mail it to me. The newcron.pic
  255. is a more serious one and is taken from ibox.
  256.  
  257. ----------------------------------------------------------------------------
  258.  
  259. 8. Future developments
  260.  
  261. Eventually I will change the application to use asynchrous menus/dialogs.
  262. This will bring the style closer to the style of the builtin applications
  263. and will allow to trigger events even while a menu/dialog box is displayed.
  264. This will only be done, if I get feedback from users who want this. As
  265. I got - till now - exactly one message providing feedback, this will probably
  266. be the last version.
  267.  
  268. ----------------------------------------------------------------------------
  269.  
  270. 9. Credits
  271.  
  272. The program was entirely written on my German 2MB S3a. It's first program I
  273. have ever written on a psion machine.
  274. - I used the great package ST-Comms for storing on my ATARI ST. To every 
  275.   Atari_and_Psion User: Try it!!!
  276. - I got needed information from the psionics files at scr.doc.ic.ac.uk!
  277.   Thanks to Clive D.W. Feather.
  278. - I tried CRON2.0 by Paul Merriman then decided to write a new one but I got 
  279.   many ideas from it.
  280. - The program uses runmacro from the great macsys package by Tom Dolbilin.
  281. - The file lpcs.zip helped me developing version 0.8. I didn't know before how
  282.   to mix console events and io-events.
  283. - I use Andy Clarksons OPP. It's great!
  284. - Thanks to Jezar for the helpkit!
  285.  
  286. ----------------------------------------------------------------------------
  287.  
  288. 10. Disclaimer
  289.  
  290. The program is not perfect. So try it at your own risc.
  291. There is no disclaimer about my awful english ;-) but feel free to send
  292. me corrections especially concerning the english version of the program.
  293.  
  294. ----------------------------------------------------------------------------
  295.  
  296. 11. My address
  297.  
  298. Contact me over internet
  299.     radig@irb.uni-hannover.de
  300. or over CompuServe
  301.     100753,3503@compuserve.com
  302.     
  303. ----------------------------------------------------------------------------
  304.  
  305. Enjoy! 14.9.95 Stefan Radig
  306.  
  307.